package com.cysyz.mylib.nestedconstructparser;

/**
     * Class description
     *
     *
     * @version        0.1, 14/08/21
     * @author         Cui Yong   cysyz1229@gmail.com
     */
    public class Tag {
        private String value;
        private int beginPos;
        private int endPos;
        private int deep;

        public Tag(String value, int beginPos, int endPos, int deep) {
            super();
            this.value = value;
            this.beginPos = beginPos;
            this.endPos = endPos;
            this.deep = deep;
        }

        /**
         * Method description
         *
         *
         * @return
         */
        public String getValue() {
            return value;
        }

        /**
         * Method description
         *
         *
         * @param value
         */
        public void setValue(String value) {
            this.value = value;
        }

        /**
         * Method description
         *
         *
         * @return
         */
        public int getBeginPos() {
            return beginPos;
        }

        /**
         * Method description
         *
         *
         * @param beginPos
         */
        public void setBeginPos(int beginPos) {
            this.beginPos = beginPos;
        }

        /**
         * Method description
         *
         *
         * @return
         */
        public int getEndPos() {
            return endPos;
        }

        /**
         * Method description
         *
         *
         * @param endPos
         */
        public void setEndPos(int endPos) {
            this.endPos = endPos;
        }

        /**
         * Method description
         *
         *
         * @return
         */
        public int getDeep() {
            return deep;
        }

        /**
         * Method description
         *
         *
         * @param deep
         */
        public void setDeep(int deep) {
            this.deep = deep;
        }
    }
